#Requires AutoHotkey v2.0

inputString := "asd{1}#启动{1}sds"
resultArray := []
regex := "(\{.*?\})"
index := 1
tempStr := ""

loop parse, inputString{

    global index
    global resultArray

    tempStr .= A_LoopField
    ; MsgBox(A_Index " is " A_LoopField)
    ; resultArray.Push(trimmedLine)
    ; resultArray[index] .= A_LoopField
    if(A_LoopField = "{"){
        resultArray.Push(tempStr)
    }
}

loop {
    MsgBox(index " is " resultArray[index])
    index++
    if(index > resultArray.Length){
        break
    }
    msgBox(tempStr)
}
